package com.example.login.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    //查询数据库中是否有此用户
    @Select("select phone from user_0326 where uname=#{uname} and upwd=#{upwd}")
    String isExist(String uname,String upwd);
}
